package com.heather.exam.models;

import com.heather.exam.controller.admincontroller.AdminController;

public class CategoryDTO {
    // CategoryDTO.java

    private String categoryName;//类别名称（例如计算机类）
    private String subject;
    private String examTime;
    private String questionBankId;
    private String projectName;
    private int numberOfQuestions;
    private AdminController.ProjectDTO project;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getExamTime() {
        return examTime;
    }

    public void setExamTime(String examTime) {
        this.examTime = examTime;
    }

    public String getQuestionBankId() {
        return questionBankId;
    }

    public String getProjectName() {
        return projectName;
    }

    public int getNumberOfQuestions() {
        return numberOfQuestions;
    }

    public AdminController.ProjectDTO getProject() {
        return project;
    }

    public CategoryDTO(String categoryName, String subject, String examTime, String questionBankId, String projectName, int numberOfQuestions, AdminController.ProjectDTO project) {
        this.categoryName = categoryName;
        this.subject = subject;
        this.examTime = examTime;
        this.questionBankId = questionBankId;
        this.projectName = projectName;
        this.numberOfQuestions = numberOfQuestions;
        this.project = project;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setNumberOfQuestions(int numberOfQuestions) {
        this.numberOfQuestions = numberOfQuestions;
    }

    public void setQuestionBankId(String questionBankId) {

        this.questionBankId = questionBankId;
    }

    public void setProject(AdminController.ProjectDTO project) {
        this.project = project;
    }
}




